//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#include <elasys_server.h>
#include <stdio.h>
#include <stdlib.h>


EXTERN_C Int32 CDECL _PutEnvironment(const wchar_t *envstring);

EXTERN_C Boolean CDECL DeployEnvironString()
{
    wchar_t wszEnvn[_MAX_PATH];
//printf(" <%s> entry.\n", __FUNCTION__);
    wcscpy(wszEnvn, L"CD=");
    wcscat(wszEnvn, L"C:\\Temp\\");
    _PutEnvironment(wszEnvn);

    wcscpy(wszEnvn, L"XDK_COMMON_RESOURCES=");
    wcscat(wszEnvn, L"C:\\Temp\\");
    _PutEnvironment(wszEnvn);
//printf(" <%s> exit.\n", __FUNCTION__);
//    _wputenv(wszEnvn);

    return TRUE;
}

